package com.twb.core.security.jwt;

public class Subject {
	
	public Subject() {}
	
	public Subject(String uid, String exp) {
		this.uid = uid;
		this.exp = Long.parseLong(exp);
	}
	
	public Subject(String exp) {
		this.exp = Long.parseLong(exp);
	}

	private String uid;
	
	/** 过期时间 */
	private Long exp;

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	/** 过期时间 */
	public Long getExp() {
		return exp;
	}

	/** 过期时间 */
	public void setExp(Long exp) {
		this.exp = exp;
	}
	
	
}
